using System;

namespace WindowsPhoneEssentials.Threading
{
    public class BackgroundResult<TResult> : BackgroundResult
    {
        public TResult Result { get; private set; }

        public BackgroundResult(TResult result)
        {
            Result = result;
        }

        public BackgroundResult(Exception exception)
            : base(exception)
        {
        }
    }
}